home *** CD-ROM | disk | FTP | other *** search
/ PC Electronics Plus 3 / PC Electronics Plus 3.iso / easysim / easysim.txt < prev    next >
Text File  |  1996-08-18  |  24KB  |  558 lines

  1. 1 INTRODUCTION
  2.  
  3. EasySim is an easy to use digital electronics simulation package.  It allows
  4. digital circuit designs of varying degrees of complexity to be designed and
  5. tested in a windows environment.  It gives the user a selection of logic gates
  6. and flip flops along with various input and output devices, thus providing
  7. building blocks to emulate any logic function required, limited only by the
  8. screen space and available memory.
  9.  
  10. The product is aimed mainly at the educational market but will also be of great
  11. value to the electronics enthusiasts wishing to test out small circuits before
  12. committing themselves to wiring up a circuit.
  13.  
  14. This document assumes that the user will be familiar with MicroSoft Windows,
  15. MS-DOS and basic digital electronic theory.
  16.  
  17. 2 LICENSE CONDITIONS
  18.  
  19. EasySim is marketed under various licences.  The licence type may be determined
  20. by selecting the About option in the Help pop-up menu.
  21.  
  22.    2.1 Limited License
  23.  
  24.    The "Limited License" applies to all EasySim unregistered software.  This
  25.    will include, but not be limited to software that has been downloaded from a
  26.    BBS.
  27.    Under the terms of the limited license you are allowed to use and evaluate
  28.    the product for a period of two calendar months from the date of first use.
  29.    You are also allowed to make and pass on an unlimited number of copies of
  30.    the unregistered software.
  31.    At the end of the two month period you must register your software if you
  32.    wish to continue using it.
  33.    Registration benefits include 90 day free support, print capabilities, an
  34.    enhanced chip library and traps for unstable or self oscillating circuitry.
  35.    Update notifications will be sent to registered users.
  36.  
  37.    2.2 Single User License
  38.  
  39.    The "Single User License" is what it says.  The software is licensed to a
  40.    single user.  It is the responsibility of the user to ensure that the
  41.    software remains under their control and is only ever used on one computer
  42.    at any one time.  There must be no possibility of the software being run
  43.    concurrently on two or more machines by more than one user.
  44.  
  45.    2.3 Site License
  46.  
  47.    The "Site License" licenses one localised establishment to make and use up
  48.    to 50 copies of the software at any one time. Such copies may only be used
  49.    at the licensed site.
  50.    Under the terms of this license a "localised establishment" shall be
  51.    considered to be a college, school, factory or similar.
  52.  
  53.    2.4 General Educational Site License
  54.  
  55.    Under the "General Educational Site License" an educational establishment is
  56.    permitted to make and use an unlimited number of copies at one site. Further
  57.    to this it is also permitted to allow copying and use by bona fide students,
  58.    of that establishment, for their own personal use.
  59.    Copying and use by other establishments and students is expressly
  60.    prohibited.
  61.  
  62. 3 INSTALLATION
  63.  
  64.    3.1 Requirements
  65.  
  66.    EasySim is designed to run under MicroSoft Windows version 3.1.  Your
  67.    machine will also need to have a 286,386 or 486 processor, a VGA display, a
  68.    mouse and at least 2 megabytes of RAM.
  69.  
  70.    3.2 File List
  71.  
  72.    Files that you should have with the unpacked version are:-
  73.  
  74.         SIMULATE.EXE      Logic Simulator Executable.
  75.         EASY1.DLL         DLL for Simulator.
  76.         EASYPRN.DLL       DLL for printing (registered versions only).
  77.         EASYSIM.TXT       (this file).
  78.         EASYDSCR.DOC      Short Descriptions for EasySim.
  79.         README            Initial Installation Instructions.
  80.         SETUP.EXE         Windows Setup Executable
  81.         SETUP.INF         Information File for Setup
  82.         METER.DLL         DLL for Setup.
  83.  
  84.    A variety of demonstration circuits will also be with the distribution
  85.    software.  These include but may not be limited to :-
  86.  
  87.         JK.SIM            JK flip flop circuit example.
  88.         MSJK.SIM          Master Slave JK flip flop circuit example.
  89.         COUNT16.SIM       A four bit synchronous counter with display.
  90.         DTYPE.SIM         A "D" type flip flop ciruit example
  91.  
  92.    3.3 Installing Under Windows
  93.  
  94.    Installation under Windows is fairly simple, and may be achieved by
  95.    following the procedure below:-
  96.  
  97.    From Program Manager select the 'File' menu option.
  98.    Now select the 'Run' option from the pull down menu.
  99.    Select 'Browse' within the displayed dialog box.
  100.    Select the diskette that contains the EasySim distribution files.
  101.    Select 'setup.exe' from the displayed file list.
  102.    Select the OK button.
  103.  
  104.    Windows will now automatically install EasySim to your hard disk, after
  105.    prompting for a destination directory.
  106.  
  107.    3.4 Installing Under DOS
  108.  
  109.    To install under DOS do the following:-
  110.  
  111.    Change the current drive to that containing the EasySim distribution files.
  112.    Type 'win setup' followed by pressing the ENTER key.
  113.  
  114.    Windows will now install EasySim.
  115.  
  116. 4 GETTING STARTED
  117.  
  118. EasySim is very easy to use once the menu/toolbox operation is understood.
  119.  
  120. Devices are selected and dropped by the mouse.
  121.  
  122. Device selection may be made from either the toolbox or the pull down menus.
  123.  
  124. Once selected a device may be rotated, by further menu/toolbox selection, or
  125. placed.  A device is placed by pressing the mouse left button when the cursor
  126. is in the required position.  In general a device is dragged by its top left
  127. hand corner.
  128.  
  129. Once placed a device may be deleted, rotated or moved by selection of the
  130. relevant edit mode.
  131.  
  132. Devices may be inter-connected by "wires" in the line drawing mode.  These
  133. wires must touch or run into any input or output pins that they are required to
  134. connect to.
  135.  
  136. Wires may be joined by junctions.  If more than two wires come to an
  137. intersection they will not all be inter-connected until such time that a
  138. junction is placed at that intersection.  Wires that cross each other may also
  139. be connected by means of a junction.  Wires that cross with no junction will
  140. not be electrically connected.
  141.  
  142. Note that for a junction to be effective it must be placed at some point on a
  143. wire.  Placing a junction on an input or output pin has no effect until a wire
  144. runs either to it or through it.
  145.  
  146. In general all connections to inputs or outputs should be by a wire terminating
  147. there.
  148.  
  149. Interactive input into the circuit design is by a "toggle switch", this allows
  150. a chosen logic level to be injected at a given point in the circuit.  A switch
  151. may be pressed, when in power up mode, by placing the cursor over it and
  152. pressing the left mouse button.
  153.  
  154. Whatever edit mode the program is in it will revert to line mode on pressing
  155. the right mouse button.  The right mouse button is also used to discard the
  156. current item, be it a device or line segment.
  157.  
  158. EasySim incorporates a unique "logic trace" mode.  This gives an indication of
  159. the logic level in a wire by the brightness it is displayed at.  This facility
  160. is invaluable for debugging circuits under development.
  161.  
  162. Circuit designs may be saved or loaded at any time and print options allow a
  163. hard copy of the design.
  164.  
  165. 5 OPERATION
  166.  
  167. EasySim allows two methods of selecting most options.  These are either from
  168. the toolbox or by means of the pull down menu system.  The available options
  169. will be discussed in the order that they appear in the drop down menus.
  170. Once the pull down menu system has been mastered it will become apparent what
  171. the operation of the "toolbox" is. The toolbox allows quick and easy selection
  172. of all devices that can be selected from the pulldown menus, with the icons on
  173. the toolbox buttons matching the operation of that particular button.
  174.  
  175.    5.1 File
  176.  
  177.       5.1.1 New
  178.  
  179.       The "File | New" option will clear any existing circuit if one exists.
  180.       If a modified circuit does exist the user will be prompted for saving
  181.       this circuit.
  182.  
  183.       5.1.2 Open
  184.  
  185.       The "File | Open" menu option will first check for an existing modified
  186.       drawing.  If one exists the user will be prompted to save it.  Subsequent
  187.       to this a file selection dialogue box is displayed.  This will give a
  188.       display of all files of suffix ".sim", in the selected directory, which
  189.       may be loaded into EasySim.
  190.       The "power up" and "logic trace" modes will be selected by default
  191.       whenever a file is loaded.
  192.  
  193.       5.1.3 Save
  194.  
  195.       The "File | Save" menu option allows a circuit to be saved.  If the
  196.       circuit was developed from new it will have the default filename of
  197.       "untitled.sim".  In this case it is probably appropriate to invoke the
  198.       "File | Save as" menu option documented below.
  199.  
  200.       5.1.4 Save as
  201.  
  202.       The "File | Save as" menu option allows an existing circuit to be saved
  203.       with a specific file name.  An interactive dialogue box is displayed
  204.       allowing a name to be entered and the directory chosen.
  205.       The convention with EasySim files is to save them with a ".sim" suffix.
  206.  
  207.       5.1.5 Print
  208.  
  209.       The "File | Print" menu option will print out a representation of the
  210.       current circuit.  The printout will go to the default printer or,
  211.       alternatively, the printer selected in "File | Printer setup".  The print
  212.       will be automatically scaled to the size of the printer settings.
  213.       Use "landscape" printing for best results.
  214.  
  215.       5.1.6 Printer setup
  216.  
  217.       The "File | Printer setup" menu option allows the printer to be
  218.       configured for subsequent printing.  The standard Windows dialogue box is
  219.       displayed for this purpose.
  220.  
  221.       5.1.7 Exit Alt+F4
  222.  
  223.       The "File | Exit Alt+F4" menu option will terminate the EasySim program.
  224.       If a modified circuit exists the user will be prompted to save it.
  225.  
  226.    5.2 Edit
  227.  
  228.    The "Edit" options change the usage of the cursor and left mouse button
  229.    press.
  230.    Pressing the right mouse button in any of these modes returns the user to
  231.    line drawing mode.
  232.  
  233.       5.2.1 Delete
  234.  
  235.       The "Edit | Delete" menu option puts the mouse into delete mode.  When
  236.       the cursor is moved over an object and the left mouse key pressed the
  237.       object will be deleted.  Multiple objects at one location will require
  238.       multiple button presses on the mouse to delete them all, one button press
  239.       one delete.
  240.  
  241.       5.2.2 Move
  242.  
  243.       The "Edit | Move" menu option puts the mouse into move mode.  When the
  244.       cursor is placed over an object and the left mouse button pressed the
  245.       object may be "picked up".  Once picked up the object may be dragged
  246.       around the screen by use of the mouse.  When the left mouse button is
  247.       released the object will be "dropped" at the current cursor position.
  248.  
  249.       5.2.3 Rotate
  250.  
  251.       The "Edit | Rotate" menu option performs two slightly different
  252.       functions.  In pure "rotate mode" the cursor may be placed over an object
  253.       and the mouse left button pressed.  When this is done the object under
  254.       the cursor will be rotated through 180 degrees.  Some items, however,
  255.       cannot be rotated.  These include lines, junctions and 7 segment
  256.       displays.
  257.       In "dragging mode" the cursor will be attached to a selected chip
  258.       outline, this outline may be rotated by use of the "Edit | Rotate" menu
  259.       option.
  260.  
  261.    5.3 Gates
  262.  
  263.    A wide selection of logic gates is available, these provide the base for
  264.    building up almost any required logic function.
  265.  
  266.       5.3.1 Invertor
  267.  
  268.       This is just a single input, single output device.  The output will be
  269.       the inverse of the input.
  270.  
  271.       5.3.2 Xor
  272.  
  273.       Xor or exclusive or gate.  This is a two input, single output device.
  274.       The output will be high if either input is high or low if both inputs are
  275.       at the same level.
  276.  
  277.       5.3.3 Xnor
  278.  
  279.       Xnor or exclusive nor gate.  This is a two input, single output device
  280.       and the logic inverse of the Xor device.  The output will be low if
  281.       either input is high or high if both inputs are at the same level.
  282.  
  283.       5.3.4 Or
  284.  
  285.       The "or" gate has a further sub-menu to allow devices of from two to four
  286.       inputs to be selected.  This is a single output device with the output
  287.       reflecting the logical "or" of its inputs.  This means that the output
  288.       will be high if any number of its inputs are high.  If all inputs are low
  289.       then the output will be low also.
  290.  
  291.       5.3.5 Nor
  292.  
  293.       The "nor" or "not or" gate has a further sub-menu to allow devices of
  294.       from two to four inputs to be selected.  This is a single output device
  295.       with the output reflecting the logical "nor" of its inputs, in this it is
  296.       the logical inverse of the "or" gate.  This means that the output will be
  297.       low if any number of its inputs are high.  If all inputs are low then the
  298.       output will be high.
  299.  
  300.       5.3.6 And
  301.  
  302.       The "and" gate has a further sub-menu to allow devices of from two to
  303.       four inputs to be selected.  This is a single output device with the
  304.       output reflecting the logical "and" of its inputs.  This means that the
  305.       output will be high if all of its inputs are high.  If at least one input
  306.       is low then the output will be low also.
  307.  
  308.       5.3.7 Nand
  309.  
  310.       The "nand" or "not and" gate has a further sub-menu to allow devices of
  311.       from two to four inputs to be selected.  This is a single output device
  312.       with the output reflecting the logical "nand" of its inputs, in this it
  313.       is the logical inverse of the "and" gate.  This means that the output
  314.       will be low if all of its inputs are high.  If at least one input is low
  315.       then the output will be high.
  316.  
  317.       5.3.8 D Flip Flop
  318.  
  319.       The "D" type flip flop is an edge triggered device that transfers data
  320.       from its "D". or data, input to its "Q" output on a rising edge at the
  321.       "C", or clock, input.  Two outputs exist on these devices "Q" and "not Q"
  322.       these outputs are the logical inverse of each other.
  323.       The registered software users have the extra luxury of an asynchronous
  324.       reset line on the "D" type flip flop.  This allows the device to be reset
  325.       (Q = low) independent of clock or data inputs.
  326.  
  327.       5.3.9 JK Flip Flop
  328.  
  329.       The "JK" flip flop is a three input, two output device that shares clock
  330.       and "Q" outputs with the "D" type flip flop.  It's operation is, however,
  331.       completely different.
  332.       The "JK" flip flop operates in one of three modes, set, reset or toggle,
  333.       all three of these modes have their data transition of the rising edge of
  334.       the "C" or clock input.
  335.       The set mode is when the "J" input is high and the "K" input low.  In
  336.       this case a low to high transition on the clock input will set the "Q"
  337.       output high and the "not Q" output low.
  338.       The reset mode is when the "J" input is low and the "K" input high.  In
  339.       this case a low to high transition on the clock input will set the "Q"
  340.       output low and the "not Q" output high.
  341.       Toggle mode is entered when both the "J" and "K" inputs are high, a low
  342.       to high transition on the clock input will cause the levels at the "Q"
  343.       and "not Q" outputs to toggle from their previous state.
  344.  
  345.    5.4 Sources
  346.  
  347.    Various input sources are provided in order to feed known logic levels into
  348.    the circuit design.
  349.  
  350.       5.4.1 Switch
  351.  
  352.       A toggle switch is provided to allow a varying level to be applied to
  353.       various inputs in the circuit.  The toggle may be operated in the "power
  354.       on" mode by placing the cursor over it and pressing the left mouse
  355.       button.
  356.  
  357.       5.4.2 Logic 0
  358.  
  359.       The logic level 0 is provided to allow a known logic low source.  It has
  360.       one pin, an output, which is at a continuous low level.
  361.  
  362.       5.4.3 Logic 1
  363.  
  364.       The logic level 1 is provided to allow a known logic high source.  It has
  365.       one pin, an output, which is at a continuous high level.
  366.  
  367.    5.5 Displays
  368.  
  369.    Two display devices are provided a lamp and a seven segment display with
  370.    binary input.  These may be connected up to provide indications of logic
  371.    levels at various points within a circuit.  These indications are only valid
  372.    when in "power up" mode.
  373.  
  374.       5.5.1 Lamp
  375.  
  376.       The lamp is a single input device.  When a logic high is applied to it's
  377.       input it will light up, similarly when a logic low is applied it will
  378.       extinguish.
  379.  
  380.       5.5.2 7 Segment
  381.  
  382.       The seven segment display has an inbuilt binary decoder and will display
  383.       in hexadecimal from 0 through to "F".  It has four inputs at it's base
  384.       with the most significant input on the left and the least significant on
  385.       the right.  The number displayed will reflect the logic levels at its
  386.       input while in "power up" mode.
  387.  
  388.    5.6 Routing
  389.  
  390.       5.6.1 Wire
  391.  
  392.       The "Routing | Wire" selection puts the program into "line drawing"
  393.       mode.  The mouse may be used to draw lines on the screen that represent
  394.       the wires of an electronic circuit.
  395.       A press of the mouse left button will initiate a line, this line will
  396.       follow the cursor movements as the mouse is moved.  A special algorithm
  397.       disables any non-orthogonal lines, this means that only horizontal or
  398.       vertical lines may be drawn.  If need be the line is split into two
  399.       segments that track the cursor.
  400.       Active line segments can be placed, one at a time, by pressing the mouse
  401.       left button.
  402.       An unwanted line segment can be discarded by pressing the mouse right
  403.       button.
  404.  
  405.       Care must be taken when "wiring" up a circuit.  Wires must reach or
  406.       overlap device inputs or outputs.  Note that only a certain amount of
  407.       overlap is permitted.
  408.       Wires alone may only be joined only end to end.  Two wires that overlap
  409.       will not join.
  410.  
  411.       5.6.2 Junction
  412.  
  413.       Junctions provide a method of joining more than one wire together.  Any
  414.       wire passing through a junction will become connected to that junction.
  415.       This allows a method of connecting up to four separate wires at one
  416.       place.
  417.  
  418.    5.7 Power
  419.  
  420.       5.7.1 Power On
  421.  
  422.       As with real circuits power has to be applied before an EasySim circuit
  423.       simulation will operate correctly.  A check box in the Power On menu
  424.       selection will indicate whether power is applied or not.
  425.       When power is applied we are in the "power up" mode in which toggle
  426.       switches may be operated in order to activate the circuit operation.
  427.  
  428.       Under some circumstances it is possible for the circuit to be unstable
  429.       and oscillate.  In this case simulation is stopped after a predetermined
  430.       time.  Note that in this case some indicated logic levels will be
  431.       incorrect.
  432.  
  433.    5.8 Options
  434.  
  435.       5.8.1 Grid
  436.  
  437.       The "Options | Grid" menu option toggles a grid on the screen.  This may
  438.       facilitate placement of devices under some conditions.
  439.  
  440.       5.8.2 Logic Trace
  441.  
  442.       EasySim has the unique feature of being able to dynamically display logic
  443.       levels as they propagate around a circuit.  The "Options | Logic Trace"
  444.       menu selection toggles this function on and off.
  445.       High logic levels are indicated by "bright" wires and low logic levels by
  446.       "dim" wires.
  447.       This facility does a lot to illustrate actual gate functionallity.
  448.       This option is the default when a circuit is loaded.
  449.  
  450.       5.8.3 Redraw
  451.  
  452.       Under some circumstances it is possible that the screen may become
  453.       cluttered with bits of deleted objects.  Especially after a long editing
  454.       session.  To clean up the screen select the "Options | Redraw" menu
  455.       option.
  456.  
  457.    5.9 Help
  458.  
  459.       5.9.1 About
  460.  
  461.       The "Help | About" menu selection will display details of your type of
  462.       license.  Please help me to continue to help you by adhering to your
  463.       license conditions.
  464.  
  465. 6 DESIGN RULES
  466.  
  467. EasySim imposes few design rules so as not to detract from the user interface
  468. functionallity.
  469.  
  470.  
  471.    6.1 Outputs
  472.  
  473.    Basically any output may be wired to any number of inputs by means of wires
  474.    and junctions.  An output may not, however, be connected to another output,
  475.    EasySim silently enforces this feature.  This means that although two
  476.    outputs may be wired together only one of those outputs will actually feed
  477.    logic levels along that wire.  No indication is given for this condition.
  478.    Should you desire to see what happens in this situation merely turn on the
  479.    logic trace facility.
  480.  
  481.    6.2 Inputs
  482.  
  483.    Unnconnected inputs are, for simplicity of operation, forced to a logic low
  484.    level.  Note that this is contrary to the operation of normal TTL logic,
  485.    which defaults to a high condition if left unconnected.  Rather than leave
  486.    unused inputs floating, make use of the logic 0 and 1 level drivers that
  487.    exist in the EasySim library.
  488.  
  489.    6.3 Wires
  490.  
  491.    Wires must touch or run onto an input or output pin for a connection to be
  492.    made.  Try to attach a wire in the same orientation as the pin being
  493.    connected to i.e. if the pin is horizontal then attach a horizontal wire to
  494.    it, conversely in the case of a vertical pin connect to it by a vertical
  495.    wire.
  496.  
  497.    Try to run wires in one piece, trying to join "broken wires" may be tricky.
  498.    ires may only be joined end to end, no overlap is allowed.
  499.  
  500.    6.4 Junctions
  501.  
  502.    Junctions are only operative on wires and serve to connect wires to other
  503.    wires or to inputs.  A junction is inoperative on a output pin unless a wire
  504.    is actually run to and terminates at that junction.
  505.  
  506.    6.5 Unstable Loops
  507.  
  508.    It is possible in EasySim, as in real life, to design and run a circuit that
  509.    is unstable and hence oscillates.  This can happen if an inverter has its
  510.    output wired straight back to its own input.
  511.    EasySim obviously has to break the simulation somewhere.  The break point is
  512.    selected some time after it has been determined that the ciruit is
  513.    unstable.  At this point in time some of the indicated logic levels will be
  514.    incorrect.  The registered packages notify the user of this situation.  This
  515.    is not so in the un-registered shareware distribution of EasySim.
  516.  
  517.    6.6 General
  518.  
  519.    In all cases where you are unsure about your circuit operation turn on the
  520.    logic trace option and see where you signals get to.
  521.  
  522. 7 REGISTRATION
  523.  
  524. The registered version of the 'EasySim' software contains a greater selection 
  525. of gates, an oscillator and also provides printing capability.
  526.  
  527. Unregistered versions of software may be upgraded to registered versions by
  528. remitting details and the correct fee to:-
  529.  
  530.      Research Systems Pty. Ltd.
  531.      15/1540 Main Road,
  532.      Research,
  533.      Victoria 3095,
  534.      Australia.
  535.  
  536. Details required are:-
  537.  
  538.      Name and address of purchaser.
  539.      Name and address of user (if different from above, or a site license).
  540.      Type of license required for the EasySim software.
  541.      The type of media required.
  542.      The remittance to cover the license fee and post and packaging.
  543.  
  544. Prices as of 8th October 1992.
  545.  
  546.      Single User:                        $A54.95
  547.      Site License:                       $A250.00
  548.      General Educational Site License:   $A500.00
  549.  
  550. For post and packaging:-
  551.  
  552.      Australia   $A5.00
  553.      Overseas    $A15.00
  554.  
  555. Terms available on official orders.
  556.  
  557. For further information call us on 0411 180 959.
  558.